<?php 
class CartWS_Model_TaxClass extends Ext_Db_Table
{
	protected $_name = 'sc_tax_class';
	protected $_sequence = 'sc_tax_class_seq';
	public function getActiveAsArray()
	{
		$rowset = $this->fetchAll(
			$this->select()->where( "locked = 'F'" )
		);
		$result = array();		
		foreach( $rowset as $row ) {
			$result[ $row->tax_class_id ] = $row->title;
		}
		
		return $result; 
	}
}